<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app" style="color: red;padding: 1px;">
        <div> {{aa}}
            <div>{{cc}}</div>
            <div>{{cc}}</div>
            <div>{{cc}}</div>
            <div>{{cc}}</div>

        </div>
    </div>
</body>
<script src="./dist/vue.js"></script>
<script>
    const vue = new Vue({
        el: '#app',
        data: { aa: 1, arr: [1, 2, 3] },
        props: {},
        computed:{
            cc(){
                console.log(11);
                return this.aa + 1
            }
        }
    })

    setTimeout(()=>{
        vue.aa = 2
    },1000)

 </script>

</html>